import request from "@/utils/request";

//商品分类
export function index(){
  return request({
    url:'/category/index',
    method:'get',

  })
}

//商品分类收拾
export function searchIndex(searchKey){
  return request({
    url:'/category/index',
    method:"get",
    params:searchKey
  })
}
//商品分类状态修改
export function chenge(id){
  return request({
    url:'/category/change/'+id,
    method:'get',
  })
}
